package com.qingge.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.omg.CORBA.INTERNAL;

import java.math.BigDecimal;

/**
 * @author: Mr.Wu
 * @create: 2022-12-13 09:57
 **/
@TableName("teacher_new")
@Data
public class Teacher {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("teacher_name")
    private String teacherName;

    private String username;

    @TableField("sex")
    private Integer sex;

    @TableField("age")
    private Integer age;

    @TableField("phone")
    private String phone;

    @TableField("address")
    private String address;

    private String password;
}
